package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Author wpj
 * @Date 2020/10/28
 */
@FieldTypeAnnotation(tableName = "t_l_ck_huashigang_attack", desc = "花石纲攻击日志", autoSave = true, uploadCk = true)
public class LogHuaShiGangAttackLog extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "活动小类型")
    private int childType;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "门客id")
    private int patronsId;
    @FieldTypeAnnotation(desc = "伤害")
    private long damage;
    @FieldTypeAnnotation(desc = "是否击杀")
    private boolean kill;
    @FieldTypeAnnotation(desc = "事件id")
    private int eventId;
    @FieldTypeAnnotation(desc = "怪物id")
    private int monsterId;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogHuaShiGangAttackLog(int activityId, int childType, long userId, int patronsId, long damage, boolean kill, int eventId, int monsterId, String reward) {
        this.activityId = activityId;
        this.childType = childType;
        this.userId = userId;
        this.patronsId = patronsId;
        this.damage = damage;
        this.kill = kill;
        this.eventId = eventId;
        this.monsterId = monsterId;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
